﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CodeGame.Networking.Serverside;

namespace CodeGame.ServerLuaLibary
{
    internal static class luaSLib_global
    {
        public static void print(object obj)
        {
            try
            {
                Console.WriteLine(obj.ToString());
            }
            catch (Exception ex)
            {
                Console.WriteLine("Lua Error: " + ex.Message);
            }
        }

        public static void sendToAll(string message)
        {
            ServerProtocolChat.SendGlobalChat("SERVER", message);
        }

    }
}
